package com.chezhujie.www.domain;

import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Entity;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/5/23.
 */
@Entity
@Table(name = "czj_shop",describe = "店铺信息")
public class Shop extends BaseEntity {
    @Id
    @Column(name="shop_id",length = 19,describe = "主键",inputType = "hidden")
    private String shopId;
    @Column(name="t_title",length = 50,describe = "标题")
    private String title;
    @Column(name="t_prices",length = 255,describe = "价格",inputType = "decimal")
    private BigDecimal prices;
    @Column(name="t_order",length = 11,describe = "顺序",inputType = "int")
    private Integer order;
    @Column(name="t_picPath",length = 255,describe = "图片地址",inputType = "file")
    private String picPath;
    @Column(name="update_date",describe = "更新时间",inputType = "date")
    private Date updateDate;
    private Date updateDateStart;
    private Date updateDateEnd;
    @Column(name="create_time",describe = "创建时间",inputType = "date")
    private Date createtime;
    private Date createtimeStart;
    private Date createtimeEnd;
    @Column(name="t_display",length = 1,describe = "显示或隐藏",inputType = "switch",inputCode="yesorno")
    private Integer display;
    @Column(name="t_type",length = 1,describe = "类型",inputType = "select",inputCode="approvestatus")
    private Integer type;
    @Column(name="t_classify",length = 1,describe = "分类",inputType = "select",inputCode="int")
    private Integer classify;
    @Column(name="t_classType",length = 19,describe = "类分类",inputType = "select",inputCode="str")
    private String classType;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrices() {
        return prices;
    }

    public void setPrices(BigDecimal prices) {
        this.prices = prices;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getUpdateDateStart() {
        return updateDateStart;
    }

    public void setUpdateDateStart(Date updateDateStart) {
        this.updateDateStart = updateDateStart;
    }

    public Date getUpdateDateEnd() {
        return updateDateEnd;
    }

    public void setUpdateDateEnd(Date updateDateEnd) {
        this.updateDateEnd = updateDateEnd;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }

    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getClassify() {
        return classify;
    }

    public void setClassify(Integer classify) {
        this.classify = classify;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }
}

